namespace Clothes.Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("CLUser")]
    public partial class CLUser : BaseContext
    {
        public int? CLLoginId { get; set; }

        [StringLength(16)]
        public string NickName { get; set; }

        [StringLength(100)]
        public string Avatar { get; set; }

        public int Sex { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime? Birthday { get; set; }

        [StringLength(100)]
        public string Address { get; set; }

        [StringLength(11)]
        public string MobileNumber { get; set; }

        [Column(TypeName = "datetime2")]
        public DateTime CreationTime { get; set; }

        public virtual CLLogin CLLogin { get; set; }
    }
}
